package java3_13;

public class Car_Application {
    public static void main(String[] args) {
        Car car = new Car();
        car.color = "红色";
        car.price = "500000￥";

        car.e = new Engine();
        car.e.power = "1000KW";
        car.e.weight = "500KG";
        car.e.brand = "BMW";
        car.e.displacement = "2.0T";

        car.information();
        car.start();
        car.shout();
        car.stop();
        System.out.println("************************************");
        car.e.start();
    }
}
